import java.util.Scanner;

public class Zdx {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		System.out.println("请输入男方的身高（厘米）：");
		double height = scanner.nextDouble();

		System.out.println("请输入男方的财富（千万元）：");
		double wealth = scanner.nextDouble();

		System.out.println("请输入男方是否帅（是/否）：");
		String officialStatus = scanner.next();

		scanner.close();

		System.out.println("结果：");
		if (height >= 180) {
			if (wealth >= 10000000) {
				if (officialStatus.equals("是")) {
					System.out.println("我一定要嫁给他！");
				} else {
					System.out.println("嫁给他，比上不足，比下有余。");
				}
			} else {
				System.out.println("不嫁");
			}
		} else {
			if (wealth >= 10000000) {
				if (officialStatus.equals("是")) {
					System.out.println("嫁给他，比上不足，比下有余。");
				} else {
					System.out.println("不嫁");
				}
			} else {
				System.out.println("不嫁");
			}
		}
	}
}